package oopFinal;

public class J31_RetangVO {
	//멤버변수
	private float width;
	private float height;
	private String color;
	//생성자
	public J31_RetangVO(){
		width = 1.0F;
		height = 1.0F;
		color = "white";
	}
	
	public J31_RetangVO(float width,float height,String color){
		this.width = width;
		this.height = height;
		this.color = color;
	}
	
	
	//setter/getter
	public void setWidth(float width){
		this.width = width;
	}
	public float getWidth(){
		return width;
	}

	public void setHeight(float height) {
		this.height = height;
	}
	
	public float getHeight() {
		return height;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

}
